
public abstract class Employee {
	

	private String firstName;
	private String lastName;
	private String socialSecurityNumber;
	
	public Employee(String first, String last, String ssn)
	{
		firstName = first;
		lastName = last;
		socialSecurityNumber = ssn;
	}
	
	public void setfirstName(String first)
	{
		firstName = first;
	}
	public String getfirstName()
	{
		return firstName;
	}
		
	public void setlastName(String last)
	{
		lastName = last;
	}
	public String getlastName()
	{
		return lastName;
	}
	
	public void setSsn(String ssn)
	{
		socialSecurityNumber = ssn;
	}
	public String getSsn()
	{
		return socialSecurityNumber;
	}
	
	
	@Override
	public String toString()
	{
		String temp = "First Name: " + getfirstName() + "\n" + 
						"Last Name: " +  getlastName() + "\n" +
						 "SSN: " + getSsn() + "\n";
						
		return temp;
	}
	
	
	public abstract double earnings();

}
